package me.ilvc.taotao.dao;

import me.ilvc.base.dao.BaseDao;
import me.ilvc.taotao.model.TbItemCat;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface TbItemCatDao extends BaseDao {
    int deleteByPrimaryKey(Long id);

    int insert(TbItemCat record);

    int insertSelective(TbItemCat record);

    TbItemCat selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbItemCat record);

    int updateByPrimaryKey(TbItemCat record);
    List<TbItemCat> getItemCatList (@Param("parentId") Long parentId);
}